#include <iostream>
#include <vector>
#include "hw2.h"
#include <math.h>
#include <iomanip>
#include <limits>
using namespace std;

int main()
{
    int n = 7;
    Point p1(0,6.67,0);
    Point p2(6,17.3,0);
    Point p3(10,42.7,0);
    Point p4(13,37.3,0);
    Point p5(17,30.1,0);
    Point p6(20,29.3,0);
    Point p7(28,28.7,0);
    Point points[n] = {p1,p2,p3,p4,p5,p6,p7};
    init(points,n);
    for (int i = 1; i < n+1; i++)
    {
        double a = h_gdq(i,n+2);
        cout << a << endl;
        
    }
    return 0;  
}
